package com.fh.db.mysql;

import com.fh.db.SqlSet;

public class MysqlSqlSet implements SqlSet {
    @Override
    public String viewSql() {
        return null;
    }

    @Override
    public String viewPreSql() {
        return null;
    }

    @Override
    public String tablePreSql() {
        return "select table_schema,table_name,table_rows,table_comment,create_time,update_time from information_schema.tables where table_schema=?";
    }

    @Override
    public String columnPreSql() {
        return "select table_schema,table_name,column_name,column_comment,ordinal_position,is_nullable,data_type,character_maximum_length,numeric_precision,numeric_scale,datetime_precision,column_key " +
                " from information_schema.columns where table_schema=? and table_name=?  order by ordinal_position asc";
    }

    @Override
    public String indexPreSql() {
        return null;
    }

    @Override
    public String indexColumnPreSql() {
        return null;
    }

    @Override
    public String packagePreSql() {
        return null;
    }

    @Override
    public String packageDeclearPreSql() {
        return null;
    }

    @Override
    public String packageBodyPreSql() {
        return null;
    }
}
